/**
 * 陈述界面
 */
class StateUI extends UIBase{
    private btn_close:BaseButton;
    private btn_sure:BaseButton;
    constructor()
    {
        super('StateView',{showBG:true});
    }

    public init()
    {
        super.init(true);
    }

    public addEvent()
    {
        this.btn_sure.addTapHandler(this.close,this);
        this.btn_close.addTapHandler(this.close,this);
    }

    public removeEvent()
    {
        this.btn_sure.removeTapHandler();
        this.btn_close.removeTapHandler();
    }

    public close()
    {
        this.remove(3);
    }

    public clear()
    {
        super.clear();
    }
}   